package com.adpython.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * @author wenhua.yang
 * @date 2009-7-8
 */
public class HttpUtil {
	public static String parseReqUrl(HttpServletRequest req){
		String url="";
		url=req.getRequestURI();
		if(StrUtil.empty(url))
			return "";
		url+=StrUtil.empty(req.getQueryString())?"":"?"+req.getQueryString();
		return url;
	}
}
